package com.java.tutorials.spring.aop;

import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

public class TracingBeforeAdvice implements MethodBeforeAdvice
{
    public void before(Method m, Object[] args, Object target) throws Throwable
    {
        System.out.println("Hello world! (by " + this.getClass().getName() + ")");
    }
}
